package top.appx.service;

import top.appx.entity.ArticleEntity;
import top.appx.qo.ArticleQO;
import top.appx.vo.ArticleVO;
import top.appx.vo.Pager;

import java.util.List;

/**
 * Created by zwy on 2015-5-22.
 */
public interface ArticleService {
    public Pager<ArticleVO> queryByPage(ArticleQO bean);
    public List<ArticleVO> homeNewest();
    public List<ArticleVO> homeList();
    public void save(ArticleEntity article);
    public void update(ArticleEntity article);
    public void delById(int id);
    public ArticleVO getById(int id);

}
